#include "message1.h"
#include "ui_message1.h"

Message1::Message1(QWidget *parent) :
    QDialog(parent),
    ui(new Ui::Message1)
{
    ui->setupUi(this);

    this->setWindowFlags(Qt::FramelessWindowHint);
    this->setAttribute(Qt::WA_TranslucentBackground);

}

Message1::~Message1()
{
    delete ui;
}

void Message1::setmessage(QString str)
{
    ui->label->setText(str);
}
